<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Decipher button examples</title>
<link rel="stylesheet" type="text/css" href="https://decipher.sanger.ac.uk/css/decipher.css">
<script type="text/javascript" src="extJs/sessvars/sessvars.js"></script>
<script type="text/javascript" src="input_decipher_button2.js"></script>
<script type="text/javascript">
			sessvars.karyoDas.conf.userEntryPoints = [3,5,7,22];
            sessvars.karyoDas.conf.zoomConf = [3,7498176,10788431];
            sessvars.karyoDas.conf.userContainers = ['annotationListView', 'sequenceView', 'zoomView', 'bandView', 'chromosomeView', 'karyotypeView'];
    
            sessvars.karyoDas.conf.decipher.patient.source.name = 'Patient annotations';
            
            var eA = new Object();
            eA.id = 'del(3)(p25.3;p26.1){3.29 Mb}';
            eA.start = '7498176';
            eA.end = '10788431';
            eA.typeName = 'Patient annotation';
            eA.typeId = 'decipher:novel:ins:hard';
            eA.chromosomeId = 'chromosome3';
            eA.linkText = 'Decipher link';
            eA.linkUrl = 'https://decipher.sanger.ac.uk/application/patient/1876';
            sessvars.karyoDas.conf.decipher.patient.source.annotations.push(eA);
            
            var eA = new Object();
            eA.id = 'del(3)(p25.3;p26.1){3.29 Mb}';
            eA.start = '17498176';
            eA.end = '30788431';
            eA.typeName = 'Patient annotation';
            eA.typeId = 'decipher:novel:ins:hard';
            eA.chromosomeId = 'chromosome3';
            eA.linkText = 'Decipher link';
            eA.linkUrl = 'https://decipher.sanger.ac.uk/application/patient/1876';
            sessvars.karyoDas.conf.decipher.patient.source.annotations.push(eA);
    
            var eA = new Object();
            eA.id ='feature';
            eA.start = '1';
            eA.end = '10000000';
            eA.typeName = 'Patient annotation';
            eA.typeId = 'decipher:poly:del:hard';
            eA.chromosomeId = 'chromosome5';
            eA.linkText = 'Decipher link';
            eA.linkUrl = 'url';
            sessvars.karyoDas.conf.decipher.patient.source.annotations.push(eA);
            
            var eA = new Object();
            eA.id = 'del(3)(p25.3;p26.1){3.29 Mb}';
            eA.start = '57498176';
            eA.end = '90788431';
            eA.typeName = 'Patient annotation';
            eA.typeId = 'decipher:novel:ins:hard';
            eA.chromosomeId = 'chromosome3';
            eA.linkText = 'Decipher link';
            eA.linkUrl = 'https://decipher.sanger.ac.uk/application/patient/1876';
            sessvars.karyoDas.conf.decipher.patient.source.annotations.push(eA);
</script>
</head>

<body>
	
	<p>
        <a class="button" href="display.html">KaryoDAS test 02</a>
        <ul>
          <li>Chromosome: 3</li>
          <li>Start Position(bp): 7498176</li>
          <li>End Position (bp):10788431</li>
          <li><a href="https://decipher.sanger.ac.uk/application/patient/1876">patient 1876</a></li>
        </ul>
    </p>
    <br/>
	

</body>
</html>